// Copyright 2018 The MACE Authors. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
//     http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

// This is a generated file. DO NOT EDIT!

#include "mace/codegen/opencl/encrypt_opencl_kernel.h"

#include <map>
#include <string>

namespace mace {
namespace {{tag}} {

const std::map<std::string, ClProgramInfo> {{variable_name}} = {
{% for key, encrypted_code in maps.items() %}
  {
    {{key|tojson}}, {
      {
        {%- for header in encrypted_code['headers'] -%}
        {{header|tojson}},
        {%- endfor -%}
      },
      {{encrypted_code['hash_str']|tojson}},
      {
        {%- for ele in encrypted_code['code'] -%}
        {{ele}},
        {%- endfor -%}
      }
    }
  },  // {{key}}
{% endfor %}
};

}  // {{tag}}
}  // namespace mace
